package com.lemon.components.video.enums;

public enum AudioCodec {

	aac("aac", "Advanced Audio Coding"),
	ac3("ac3", "ATSC A/52A (AC-3)"),
	libvo_aacenc("libvo_aacenc", "Android VisualOn AAC (Advanced Audio Coding)");

	private String code;
	private String message;

	/**
	 * 获取全部枚举
	 * 
	 * @return List<AudioCodec>
	 */
	public static java.util.List<AudioCodec> getAllEnum() {
		java.util.List<AudioCodec> list = new java.util.ArrayList<AudioCodec>(values().length);
		for (AudioCodec _enum : values()) {
			list.add(_enum);
		}
		return list;
	}

	/**
	 * 获取全部枚举值
	 * 
	 * @return List<String>
	 */
	public static java.util.List<String> getAllEnumCode() {
		java.util.List<String> list = new java.util.ArrayList<String>(values().length);
		for (AudioCodec _enum : values()) {
			list.add(_enum.getCode());
		}
		return list;
	}

	private AudioCodec(String code, String message) {
		this.code = code;
		this.message = message;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}
}
